The files in this folder will allow you to edit the address lists of a ListSTAR server from the World Wide Web. The script will subscribe, unsubscribe, and check the address list for subscription entries. This script requires some knowledge of standard AppleScript, the HyperText Markup Language (HTML) and the Common Gateway Interface (CGI).
What you Need
• AppleScript as well as the scriptable Finder. (An install of System 7.5 or later guarantees compatibility, although System 7 Pro may work as well.)
• Version 1.0 or later of both WebSTAR and ListSTAR.
• Scripting Additions
-- Script Tools 1.3.2 Additions
-- ACME Tokenize
-- Decode URL
-- DePlus OSAX
These additions are located in the ListSTAR Scripting Tools folder in the Tools and Enhancements folder subfolder of the ListSTAR folder.
(NOTE: Some of these scripts are shareware. You should pay the authors directly for use).
Customizing the process
1) Move the "Address-List-Editor.html", "Address-List-Editor.acgi", and the "liststar.gif" into your WebSTAR folder.
2) In the "Address-List-Editor.html" file, change the names which begin with "Test" to names of address lists in your ListSTAR Server. Use the address list names as they appear in ListSTAR's Address List Interface. It has been reported that if the Address List Name is less than 6 characters in length an incomplete event will occur. These "Test" lines can be duplicated to add support for additional lists.
3) Open the "Address-List-Editor.acgi" script with Apple's Script Editor and edit the values indicated at the beginning of the script. For example change
if listname is "Test List 1" then set listname to "Test 1 Service Name"
to
if listname is "Listserv Demo List" then set listname to "Listserver Demo"
Scroll through the script until you see "Comment B." Edit the next few lines so that they match the number of Address lists that you wish to edit via the WWW. For example change
else if currname = "Test List 1" then
set thelists to thelists & {currname}
to
else if currname = "Listserv Demo List" then
set thelists to thelists & {currname}
When you are done editing, select "Save As..." from the "File" menu and choose application from the popup menu. Check the two checkbox's for "Never Show Startup Screen" and "Stay Open".
Going further
If you are interested in customizing further or learning more about cgi's and AppleScript, check out Jon Wiederspan's tutorials included on this CD or via the Web:
If you have any problems or questions, contact StarNine Support <support@starnine.com>. Unfortunately, we cannot support any further customization of this script. See the ListSTAR Scripts ReadMe for more sources of information.